<%@ page pageEncoding="UTF-8"%>
<div class="submitHeaderBg">
  <div class="submitPageHeader contentWidth center font fontColorWhite en_M">
    <ul class="submitNavigation left">
      <li><a href="javascript:void(0)" onclick="toPage(this, 'buyer/favorite')"<c:if test="${'favorite' eq pageName }"> class="submitPageActive"</c:if>>收藏夹</a></li>
      <li><a href="buyer/cart"<c:if test="${'cart' eq pageName }"> class="submitPageActive"</c:if>>购物车</a></li>
      <li><a href="javascript:void(0)" onclick="toPage(this, 'buyer/information')"<c:if test="${'information' eq pageName }"> class="submitPageActive"</c:if>>账户信息</a></li>
	  <li><a href="javascript:void(0)" onclick="toPage(this, 'buyer/address')"<c:if test="${'address' eq pageName }"> class="submitPageActive"</c:if>>收货地址</a></li>
    </ul>
    <a href="seller/sellerHome?sellerId=${USER_SESSION.userInfo.id }" title="CLICK HERE TO SEE YOUR HOME PAGE">
			<c:choose>
            <c:when test="${empty USER_SESSION.designerPhoto }">
            <img class="submitSalerPhoto left" src="static/images/global/blank.png" />
            </c:when><c:otherwise>
            <img class="submitSalerPhoto left" src="${fileServerBasePath }image/resize/${USER_SESSION.designerPhoto }?width=105&height=105" />
            </c:otherwise></c:choose>
		</a>
    <ul class="submitNavigation right">
      <li><a style="color:#cbcbcb;" href="javascript:void(0)" onclick="toPage(this, 'buyer/purchase')"<c:if test="${'purchase' eq pageName }"> class="submitPageActive"</c:if>>订单管理</a></li>
      <li><a style="color:#cbcbcb;" href="javascript:void(0)" onclick="toPage(this, 'buyer/message')"<c:if test="${'message' eq pageName }"> class="submitPageActive"</c:if>>发件箱</a></li>
	   
	       <li style="margin-right: 0;color: #f7bf14;float: right;">
			    <a href="javscript:void(0)" onclick="toPage(this, 'seller/store')">
			        <span class="icon-gotoseller"></span>
			        <span>SWITCH TO SELLER</span>
			    </a>
		   </li>
	   <c:if test="${'purchase' eq pageName }">
			<li><a href="#"<c:if test="${'productEdit' eq pageName }"> class="submitPageActive"</c:if>>已购买</a></li>
			<li><a href="#"<c:if test="${'productList' eq pageName }"> class="submitPageActive"</c:if>>未支付</a></li>
	   </c:if>
	   <c:if test="${'message' eq pageName }">
			<li><a href="#"<c:if test="${'productEdit' eq pageName }"> class="submitPageActive"</c:if>>店铺留言</a></li>
			<li><a href="#"<c:if test="${'productList' eq pageName }"> class="submitPageActive"</c:if>>产品评论</a></li>
	   </c:if>
    </ul>
  </div>
</div>